package com.lunhui.service.lunhui.service.business.enums;

/**
 * @author renminghe-kg
 */
public enum  ResultCodeEnum {

    EXCEPTION_CODE(-9999, "内部错误"),
    TOKEN_INVALID_CODE(1000, "token无效"),
    PARAMS_INVALID_CODE(2000, "参数无效"),
    ;
    private Integer code;
    private String name;

    ResultCodeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}